<?php
/**
 * Date: 2021/8/4
 * Time: 15:19
 * 后台用户登录
 */

namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Service\Verify;



class Login
{

    /*
     * 用户登录
     */
    public function login(Request $request){

         $data=$request->post();

         $res=Verify::login($data['account'],$data['password']);

         return json_encode($res);



    }



}